package cn.virens.common.boot.dubbo.consumer.converter;

import org.dromara.hutool.core.convert.ConvertUtil;
import org.springframework.core.convert.converter.Converter;

public class IntegerConverter implements Converter<String, Integer> {

    @Override
    public Integer convert(String source) {
        return ConvertUtil.toInt(source, null);
    }
}
